Ext.ns('EasyExt.data');

EasyExt.data.ComboJsonStore = Ext.extend(Ext.data.JsonStore, {
	constructor: function(config) {
		if (!Ext.isString(config.sortType)) {
			throw new Error(0, 'Invalid config sort type.');
		}
		Ext.apply(config, {
			root: 'records',
			baseParams: {
				sortType: config.sortType
			},
			url: contextPath + '/getComboStore'
		});
		EasyExt.data.ComboJsonStore.superclass.constructor.call(this, config);
	}
});